package service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmMaterialDto;
import com.usian.model.media.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService extends IService<WmMaterial> {
    public ResponseResult fileUpload(MultipartFile multipartFile);
    public ResponseResult findList(WmMaterialDto dto);
    public ResponseResult delById(Integer id);
    //设置收藏
    public ResponseResult setIsCollection(Integer id, Integer type);
}
